#ifndef __STDIO_FCLOSE_H__
#define __STDIO_FCLOSE_H__

#include <stdio/stdio.h>

/**
 *  fclose()
 *  uzavre soubor <stream>
 *  IN:   <stream>  - ukazatel na strukturu souboru
 *  OUT:  [void]
 */
void fclose(FILE *stream) {
  int r_bp;

  asm push bp;
  asm pop r_bp;

  asm mov ax, 0x3A;
  asm mov bx, r_bp;
  asm int OSINT;

  return;
}

#endif
